package com.ithaohao.service;

import com.ithaohao.pojo.Application;
import com.ithaohao.pojo.Invitations;
import com.ithaohao.pojo.Result;
import jakarta.servlet.http.HttpSession;

import java.time.LocalDate;
import java.util.List;

public interface InvitationsService {
    Result post(Invitations invitations, HttpSession session);


    Result list(HttpSession session);


    List<Invitations> selectById(Integer id);


    boolean userExists(String user);

    boolean DateExists(LocalDate createDate);


    Result checkAndAdd(Application application, HttpSession session);
}
